<!--
 * @Author: your name
 * @Date: 2022-01-13 11:29:49
 * @LastEditTime: 2022-01-13 14:27:04
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \0113\index.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .list{
            width: 960px;
            margin: 0 auto;
        }
        .list ul{
            /* width: 100%; */
            width: 960px;
        }
        .list ul li{
            width: 450px;
            height: 238px;
            float: left;
            margin: 15px 15px;
            list-style: none;
            position: relative;
            border-radius: 10px;
            overflow: hidden;
        }
        .list ul li>a{
            width: 100%;
            height: 100%;
            display: block;
        }
        .list ul li:hover img{
            /* width: 110%;
            height: 110%;
            margin-left: -5%;
            margin-top: -5%; */
            transform: scale(1.1);
        }
        .list ul li img{
            width: 450px;
            height: 238px;
        }
        .list ul li .txt{
            width: 95%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
            color: white;
            padding-left: 5%;
        }
        .list ul li .txt h2{
            font-size: 24px;
        }
        .list ul li .txt p{
            font-size: 16px;
        }
        .list ul li .txt a{
            font-size: 18px;
            color: white;
            text-decoration: none;
            width: 150px;
            height: 50px;
            line-height: 50px;
            text-align: center;
            background: violet;
            display: inline-block;
            border-radius: 10px;
        }
    </style>
</head>
<body>
    <div class="list">
        <ul>
            <li>
                <a href="#">
                    <img src="images\22.jpg" alt="">
                </a>
                <div class="txt">
                    <h2>Packed RO water</h2>
                    <p>Water is an inRO water, transparent, tasteless, odorless, and nearly colorless</p>
                    <a href="#">SHOP NOW</a>
                </div>
            </li>
            <li>
                <a href="#">
                    <img src="images\32.jpg" alt="">
                </a>
                <div class="txt">
                    <h2>Packed RO water</h2>
                    <p>Water is an inRO water, transparent, tasteless, odorless, and nearly colorless</p>
                    <a href="#">SHOP NOW</a>
                </div>
            </li>
            <li>
                <a href="#">
                    <img src="images\83.jpg" alt="">
                </a>
                <div class="txt">
                    <h2>Packed RO water</h2>
                    <p>Water is an inRO water, transparent, tasteless, odorless, and nearly colorless</p>
                    <a href="#">SHOP NOW</a>
                </div>
            </li>
            <li>
                <a href="#">
                    <img src="images\92.jpg" alt="">
                </a>
                <div class="txt">
                    <h2>Packed RO water</h2>
                    <p>Water is an inRO water, transparent, tasteless, odorless, and nearly colorless</p>
                    <a href="#">SHOP NOW</a>
                </div>
            </li>
        </ul>
    </div>
</body>
</html>